import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'user/getList',
    data: info,
    method: 'post'
  })
}

export const getDetail = info => {
  return axios.request({
    url: 'user/detail',
    data: info,
    method: 'post'
  })
}

export const getCoupon = info => {
  return axios.request({
    url: 'coupon/getList',
    data: info,
    method: 'post'
  })
}
export const sendCoupon = info => {
  return axios.request({
    url: 'coupon/sendCoupon',
    data: info,
    method: 'post'
  })
}
